<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>个人主页</title>
    <link rel="stylesheet" href="${ctxPath}/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="${ctxPath}/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="${ctxPath}/css/common.css">
    <link rel="stylesheet" href="${ctxPath}/css/topic.css">
    <link rel="stylesheet" href="${ctxPath}/css/customer.css">
</head>
<body>
<jsp:include page="/WEB-INF/pages/commons/header.jsp"></jsp:include>

<nav class="list">
    <a href="${ctxPath}/index.jsp">首页</a>
    <i>/</i>
    <b>个人主页</b>
</nav>
<div class="my_page">
    <aside class="page-aside">
        <div class="head-photo">
            <div> ${c.nickname.charAt(0)}</div>
        </div>
        <div class="body">
            <ul class="list-group">
                <li class="list-group-item">
                    等级:${Math.floor(level.empirical/100)}
                </li>
                <li class="list-group-item">
                    据下次升级:${100-(level.empirical%100)}
                </li>
                <li class="list-group-item">
                    发过的话题数:${level.topic_time}
                </li>
                <li class="list-group-item">
                    注册日期:${c.registerDate}
                </li>
                <li class="list-group-item">
                    登录次数:${level.login_time}
                </li>
            </ul>
        </div>
    </aside>
    <main class="page-main">
            <jsp:include page="/WEB-INF/pages/customer/mytopic.jsp"></jsp:include>

    </main>
</div>
</body>
</html>
